﻿using System;
using System.Device.Location;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SydEnergiPrototype.Model
{
    public class PushPin
    {
        public GeoCoordinate Position { get; set; }
        public string Header { get; set; }

        public PushPin(GeoCoordinate position, string header)
        {
            if(position == null)
                throw new ArgumentNullException();
            Position = position;

            if(string.IsNullOrEmpty(header))
                throw new ArgumentNullException();
            Header = header;
        }
    }
}
